/* AFTECH 网站样式 - 完整复制 */

/* =================================
   基础变量和重置
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.6rem;
  color: #fff;
  background-color: #1b212d;
  overflow-x: hidden;
}

/* SVG图标样式 */
.svg {
  width: 100%;
  height: auto;
}

/* =================================
   装饰角边框
================================= */
.corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
}

.corner.top_right,
.corner.corner-top-right {
  top: 0;
  right: 0;
  border-top: 2px solid #e58707;
  border-right: 2px solid #e58707;
}

.corner.top_left,
.corner.corner-top-left {
  top: 0;
  left: 0;
  border-top: 2px solid #e58707;
  border-left: 2px solid #e58707;
}

.corner.bottom_right,
.corner.corner-bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #e58707;
  border-right: 2px solid #e58707;
}

.corner.bottom_left,
.corner.corner-bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid #e58707;
  border-left: 2px solid #e58707;
}

/* =================================
   Section 背景
================================= */
/* 通用背景定位样式 */
.fb_bg_in,
.fp-bg,
.fp-bg:after {
  position: absolute;
  left: 0;
  height: 100%;
  top: 0;
}

.fp-bg,
.panel-bg {
  width: 100%;
  z-index: 0;
}

.fb_bg_in,
.panel-bg-overlay {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fp-bg.darker .fb_bg_in::after {
  content: '';
  width: 100%;
  background: rgba(17, 23, 36, 0.7);
}

/* =================================
   Screen Content
================================= */
.screen_content,
.screen-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3rem;
}

.content_sides,
.content-sides {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.content_side,
.content-side {
  position: relative;
}

.content_side__left,
.content-side-left {
  width: 40%;
  min-width: 350px;
}

.content_side__right,
.content-side-right {
  flex: 1;
}

/* =================================
   标题样式
================================= */
.main_title_wrapper,
.main-title-wrapper {
  position: relative;
  line-height: 1;
  margin-bottom: 5rem;
}

.main_subtitle,
.main-subtitle {
  color: #e58707;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 2rem;
}

.main_title,
.main-title {
  color: #fff;
  font-size: 7.2rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.title_description,
.title-description {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.description_separator,
.description-separator {
  display: inline-block;
  width: 8.7rem;
  height: 0.2rem;
  background-color: #e58707;
  vertical-align: middle;
  margin-right: 2.8rem;
}

/* =================================
   Next Button / Slide Button
================================= */
.slide_next_btn,
.slide-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

.slide_next_btn:hover,
.slide-next-btn:hover {
  color: #e58707;
}

.slide_next_circle,
.slide-next-circle {
  position: relative;
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle_shape,
.circle-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.slide_next_circle_in,
.slide-next-circle-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #e58707;
}

.slide_next_text,
.slide-next-text {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =================================
   About Blocks (Facts)
================================= */
.about_blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.about_block {
  position: relative;
  padding: 3rem 2rem;
  background-color: rgba(35, 43, 57, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  transition: all 0.3s ease;
}

.about_block:hover {
  background-color: rgba(35, 43, 57, 0.8);
  transform: translateY(-5px);
}

.about_block__num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.6rem;
  color: #909bb0;
  font-weight: 700;
}

.about_block__ico {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: #e58707;
  font-size: 3rem;
}

.about_block__content {
  text-align: center;
}

.about_block__text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #fff;
  font-weight: 600;
}

/* =================================
   Partners / Clients Blocks
================================= */
.partners_blocks,
.client_blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.client_blocks {
  grid-template-columns: repeat(4, 1fr);
}

.partners_block,
.client_block {
  position: relative;
  background: rgba(35, 43, 57, 0.5);
  transition: all 0.3s ease;
}

.partners_block {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client_block {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners_block:hover,
.client_block:hover {
  background: rgba(35, 43, 57, 0.8);
  transform: translateY(-5px);
}

.partners_block__ico,
.client_block_img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.partners_block__ico img,
.client_block_img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.partners_block:hover .partners_block__ico img,
.client_block:hover .client_block_img img {
  filter: grayscale(0%) brightness(1);
}

/* Partners Hover */
.partners_block__hover {
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;
  display: table;
  background-color: #232b39;
  box-shadow: 0 4rem 8rem rgba(17, 23, 36, 0.6);
  transition: all 0.7s ease;
  opacity: 0;
  padding: 0 3.5rem;
}

.partners_block:hover .partners_block__hover {
  opacity: 1;
  top: 50%;
}

.partners_block__hover_in {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.pb_hover_text {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pb_link {
  color: #e58707;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid #e58707;
}

.pb_link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* =================================
   Contact Blocks
================================= */
.contact_blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact_block {
  position: relative;
  background: rgba(35, 43, 57, 0.6);
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.contact_block:hover {
  background: rgba(35, 43, 57, 0.9);
  transform: translateY(-5px);
}

.contact_block_main_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact_block_photo {
  position: relative;
  width: 150px;
  height: 150px;
}

.cb_back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(229, 135, 7, 0.2);
  border-radius: 50%;
  border: 2px solid rgba(229, 135, 7, 0.3);
}

.contact_block_persone {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e58707;
}

.contact_block__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact_block__text {
  font-size: 1rem;
  color: #909bb0;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* =================================
   Icon Links
================================= */
.ico_links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ico_link {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.8rem;
  border-radius: 4px;
}

.ico_link:hover {
  background: rgba(229, 135, 7, 0.1);
  color: #e58707;
}

.ico_link_img {
  font-size: 2rem;
  width: 40px;
  flex-shrink: 0;
}

.ico_link_text {
  font-size: 1rem;
  line-height: 1.6;
  color: #909bb0;
  flex: 1;
}

.ico_link_text strong {
  color: #fff;
  font-weight: 600;
}

/* =================================
   Map Button
================================= */
.map_button {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 2px solid #e58707;
  background: transparent;
  color: #e58707;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map_button:hover {
  background: #e58707;
  color: #1b212d;
}

/* =================================
   响应式设计
================================= */
@media (max-width: 1024px) {
  .main_title,
  .main-title {
    font-size: 5rem;
  }
  
  .about_blocks,
  .partners_blocks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 9px;
  }
  
  .content_sides,
  .content-sides {
    flex-direction: column;
    gap: 3rem;
  }
  
  .content_side__left,
  .content-side-left {
    width: 100%;
    min-width: auto;
  }
  
  .main_title,
  .main-title {
    font-size: 3.5rem;
  }
  
  .about_blocks {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners_blocks,
  .client_blocks {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact_blocks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main_title,
  .main-title {
    font-size: 2.5rem;
  }
  
  .about_blocks,
  .partners_blocks,
  .client_blocks {
    grid-template-columns: 1fr;
  }
}

/* =================================
   Appear Animation
================================= */
.appear_el {
  opacity: 1;
  transform: translateX(0);
}

/* =================================
   Horizontal Section Slide
================================= */
.horizontal_section_slide {
  position: relative;
}

.showed_slide {
  opacity: 1;
}

/* =================================
   简单文本样式
================================= */
.simple_text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.simple_text strong {
  color: #fff;
  font-weight: 600;
}

.simple_text ul {
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.simple_text li {
  margin-bottom: 1rem;
  position: relative;
}

.simple_text li::marker {
  color: #e58707;
}

/* =================================
   Aside Container (侧边栏)
================================= */
.aside_container {
  position: fixed;
  left: 0;
  top: 0;
  width: 12rem;
  height: 100vh;
  z-index: 1000;
  background-color: #232b39;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aside_inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  min-height: 100%;
}

.aside_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(100% - 3rem);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  flex: 1;
  min-height: 0;
}

.aside_list li {
  margin: 0;
  flex: 0 0 auto;
  position: relative;
}

.aside_list li:not(:last-child) {
  margin-bottom: 11rem;
}

.aside_list li:not(:last-child):after {
  content: '';
  display: block;
  height: 3.4rem;
  width: 0.1rem;
  opacity: 0.1;
  background-color: #fff;
  position: absolute;
  top: calc(100% + 5.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-50%);

}

.aside_list_link {
  /* color: #909bb0; */
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  position: relative;
}

/* .aside_list_link:before {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: #e58707;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
} */

.aside_list_link:hover {
  color: #e58707;
}

.aside_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #e58707;
  margin-top: 0;
  margin-bottom: auto;
  flex-shrink: 0;
}

.aside_logo:hover {
  background-color: #d67906;
}

.aside_logo_in {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.aside_logo_in img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.aside_logo_in .svg {
  width: 60%;
  height: 60%;
}

/* 响应式设计 - Aside */
@media screen and (max-width: 1199px) {
  .aside_container {
    width: 12rem;
    height: 12rem;
  }
  
  .aside_list {
    width: calc(100% - 2rem);
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .aside_logo {
    width: 7.2rem;
    max-height: 6.8rem;
  }
}

@media screen and (max-width: 767px) {
  .aside_container {
    width: 100%;
    min-height: auto;
    height: auto;
    position: relative;
    transform: none;
    top: 0;
  }
  
  .aside_inner {
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    min-height: auto;
  }
  
  .aside_logo {
    display: flex;
    width: 6rem;
    height: 6rem;
    max-width: 6rem;
    max-height: 6rem;
    margin-right: 2rem;
  }
  
  .aside_list {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    padding: 0 10px;
    gap: 3rem;
  }
  
  .aside_list_link {
    writing-mode: initial;
    text-orientation: initial;
  }
  
  .aside_list > :not(:last-child) {
    margin-right: 2rem;
  }
}

@media screen and (max-width: 420px) {
  .aside_list > :not(:last-child) {
    margin-right: 2rem;
  }
  
  .aside_list > :not(:last-child):after {
    display: none;
  }
}

/* =================================
   Header (顶部导航栏)
================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 5rem 10rem 0;
}

.header_logo {
  display: none;
}

.header_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_left {
  display: flex;
  align-items: center;
}

.header_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav_list {
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: 1.1px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav_list > :not(:last-child) {
  margin-right: 50px;
}

.nav_link {
  color: #909bb0;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.nav_link:after,
.nav_link:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  left: 50%;
  opacity: 0;
}

.nav_link:before {
  border-width: 0 6.5px 6px;
  border-color: transparent transparent #e58707;
  transform: translateX(-50%);
  bottom: 100%;
  transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
}

.nav_link:after {
  border-width: 6px 6.5px 0;
  border-color: #e58707 transparent transparent;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
}

.nav_link:hover,
.nav_link.active {
  color: #fff;
}

.nav_link:hover:before,
.nav_link.active:before {
  bottom: calc(100% + 15px);
  opacity: 1;
}

.nav_link:hover:after,
.nav_link.active:after {
  top: calc(100% + 15px);
  opacity: 1;
}

.header_links_trigger {
  display: none;
}

/* 响应式设计 - Header */
@media screen and (max-width: 1499px) {
  .header {
    padding-top: 3rem;
  }
}

@media screen and (max-width: 991px) {
  .header {
    background-color: #232b39;
    padding: 1rem 2rem 1rem 7rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .nav_link:hover:before {
    bottom: calc(100% + 8px);
  }

  .nav_link:hover:after {
    top: calc(100% + 8px);
  }
}

@media screen and (max-width: 767px) {
  .nav_list > :not(:last-child) {
    margin-right: 40px;
  }

  .header {
    padding-left: 0;
    padding-right: 0;
  }

  .header_content {
    width: 100%;
  }

  .header_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: #e58707;
  }

  .header_logo img {
    max-width: 40px;
    max-height: 40px;
  }

  .header_logo svg {
    width: 40px;
    height: 40px;
  }

  .header_right {
    width: calc(100% - 6rem);
    padding-right: 10px;
    padding-left: 10px;
  }

  .nav_list {
    justify-content: flex-end;
  }
}

@media screen and (min-width: 601px) {
  .nav_list {
    display: flex !important;
  }
}

@media screen and (max-width: 600px) {
  .header_right {
    justify-content: flex-end;
  }

  .nav_list {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: #232b39;
    padding: 25px 10px;
    display: none;
    text-align: center;
    flex-direction: column;
  }

  .nav_list.active {
    display: flex;
  }

  .nav_list > :not(:last-child) {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .header_links_trigger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    margin-left: auto;
    margin-right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .header_links_trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e58707;
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
  }

  .header_links_trigger span:nth-child(2) {
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .header_links_trigger span:nth-child(2):before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: #e58707;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
  }

  .header_links_trigger span:first-child {
    top: 0;
  }

  .header_links_trigger span:last-child {
    bottom: 0;
  }

  .header_links_trigger.opened span:first-child {
    top: -10px;
    left: 10px;
    opacity: 0;
  }

  .header_links_trigger.opened span:last-child {
    bottom: -10px;
    left: -10px;
    opacity: 0;
  }

  .header_links_trigger.opened span:nth-child(2) {
    -ms-transform: translateY(-50%) rotate(45deg);
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
  }

  .header_links_trigger.opened span:nth-child(2):before {
    width: 100%;
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
    transform: translateX(-50%) translateY(-50%) rotate(-90deg);
  }
}

@media screen and (min-width: 2100px) {
  .nav_link {
    font-size: 1.4rem;
  }
}

